package com.fjw.controller.skip;

/**
 * @author fjw
 * @version 1.0
 * @date 2019/11/1 15:48
 */

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 用于跳转页面
 */
@Controller
@Slf4j
public class SkipController {

    @GetMapping("register")
    public String register(){
      log.info("跳转到了注册界面" );
      return "register";
    }

    @GetMapping("login")
    public String login(){
        log.info("跳转到了登录界面" );
        return "login";
    }
    @GetMapping("/addClaz")
    public String addClaz(){
        log.info("跳转到了添加班级界面" );
        return "addClaz";
    }
}
